package com.ctshk.rpc.scenic.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author chenlei
 * @since 23/2/2021
 */
@Data
@ApiModel(value="ScenicSupplierApiSettingReq对象",description="景点门票API初始设置")
public class ScenicSupplierApiSettingReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商id",required = true)
    private String supplierId;

    @ApiModelProperty(value = "供应商名称",required = true)
    private String supplierName;

    @ApiModelProperty(value = "是否允许打包(1 允许 2 不允许 3 只限打包)",required = true)
    private Integer allowPackage;

    @ApiModelProperty(value = "预订服务类型(1 加数值  2 百分比)",required = true)
    private Integer reserveChargeType;

    @ApiModelProperty(value = "预订服务费",required = true)
    private double reserveCharge;

    @ApiModelProperty(value = "中旅退改服务类型(1 加数值  2 百分比)",required = true)
    private Integer ctsChargeType;

    @ApiModelProperty(value = "中旅退改服务费",required = true)
    private double ctsCharge;

    @ApiModelProperty(value = "加幅类型(1 加数值  2 百分比)",required = true)
    private Integer adjustType;

    @ApiModelProperty(value = "加幅金额",required = true)
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比",required = true)
    private Double percent;

    @ApiModelProperty(value = "线下渠道类型(1：自营渠道 2：代理商)",required = true)
    private List<String> offlineChannelType;

    @ApiModelProperty(value = "线上渠道类型(3：官方平台 4：第三方平台)",required = true)
    private List<String> onlineChannelType;
}